package com.sky.mapper;

import com.sky.entity.SetmealDish;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealDishMapper {
       void add(List<SetmealDish> list);

       void delete(List<Long> ids);

       @Select("select * from setmeal_dish where setmeal_id = #{id}")
       List<SetmealDish> select(Long id);

       void update(List<SetmealDish> list);
}
